package com.xuan.job.domain.message;

import com.baomidou.mybatisplus.annotation.*;
import com.xuan.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 消息内容表
 * @TableName tb_message_text
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value ="tb_message_text")
@Data
public class MessageText extends BaseEntity implements Serializable {
    /**
     * 消息内容id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long textId;

    /**
     * 消息标题
     */
    private String messageTitle;

    /**
     * 消息内容
     */
    private String messageContent;

    /**
     * 是否删除 0:未删除  1:已删除
     */
    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}